package com.athuawei.miemie;

public class Test {
    public static void main(String[] args) {
//        System.out.println("Hello World!");
//        System.out.println(say());
        System.out.println(sum(10,100));
    }

    public static String say() {
        return "刘浩泽";
    }

    public static int sum(int start, int end) {
        int res = 0;
        for (int i = start; i <= end; i++) {
            res += i;
        }
        return res;
    }

}
